/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-05-09
 * Time: 19:46
 */

//新增一种样式的手机 演示是如何方便的
public class UpRightPhone extends Phone{

    public UpRightPhone(Brand brand) {
        super(brand);
    }

    public void open(){
        super.open();
        System.out.println("直立样式手机");
    }

    public void close(){
        super.close();
        System.out.println("直立样式的是手机");
    }

    public void call(){
        super.call();
        System.out.println("直立样式的手机");
    }
}
